async function fn() {
 const res = await axios({
    url :'/dashboard',
 })
  const data = res.data.overview
//  document.querySelector('[name="salary"]').innerHTML = data.salary
//  document.querySelector('[name="student_count"]').innerHTML = data.student_count
//  document.querySelector('[name="age"]').innerHTML = data.age
//  document.querySelector('[name="group_count"]').innerHTML = data.group_count

  const name = document.querySelectorAll('.h3.font-weight-bold.mb-0')
  function render(data) {
    let i = 0
    for (let k in data) {
     name[i].innerHTML = data[k] 
      i++
    }
  }
  render(data)
}
fn()